from django.contrib import admin
from .models import Passage, Tag, Author
# Register your models here.


class TagAdmin(admin.ModelAdmin):
    list_display = ("tagName",)


class AuthorAdmin(admin.ModelAdmin):
    list_display = ("author",)


class PassageAdmin(admin.ModelAdmin):
    list_display = ("id", "title", "time", "author",)


admin.site.register(Tag, TagAdmin)
admin.site.register(Author, AuthorAdmin)
admin.site.register(Passage, PassageAdmin)